﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MachineGroupEditAssignments.aspx.cs" Inherits="NSATBPortal.MachineGroupEditAssignments" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Machine Group Assignments</title>
</head>
<body style="font-family: Tahoma; margin: 20px 0px 0px 10px; background-color: lightgray">
    <form id="form1" runat="server">
    <div id="Header" style="font-size: large; background-color: darkblue; color: white;">
        <div style="float: left; font-size: large; background-color: darkblue; color: white; width: 100%;">
        <a href="MachineGroupHome.aspx" style="color: white;">Machine Group List</a>&nbsp;&gt;&nbsp;Machine Group Assignments
        </div>
    </div>
    <div style="width: 100%; height: 100%; margin: 20px 0px 0px 0px; background-color: lightgray">
        <div style="margin: 20px 0px 0px 0px; height: 100%;">
            <asp:Label ID="lblParent" runat="server" Text="Label" BackColor="#000099" ForeColor="White" Font-Bold="True" Width="50%"></asp:Label>
            <asp:GridView Font-Size="Small" ID="DefMachineGroupGrid" DataKeyNames="ID" runat="server" AutoGenerateColumns="False" CellPadding="2"
                OnInit="DefMachineGroupGrid_Init" 
                OnRowEditing="DefMachineGroupGrid_RowEditing"
                >
                <Columns>
                    <asp:CommandField SelectText="View" EditText="Add/Remove" ShowEditButton="True" >
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="false" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:CommandField>
                    <asp:BoundField HeaderText="Member" DataField="Member" Visible="true">
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="true" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Center" VerticalAlign="Top" Wrap="False" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="ID" DataField="ID" Visible="false">
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="true" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="State" DataField="State" >
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="true" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="Address" DataField="Address" >
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="true" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="Is Virtual" DataField="IsVirtual">
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="true" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="VM Name" DataField="VirtualName">
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="true" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="Details" DataField="Details">
                        <HeaderStyle BackColor="#000099" BorderColor="Black" ForeColor="White" Font-Bold="true" HorizontalAlign="Left" VerticalAlign="Bottom" Wrap="False" />
                        <ItemStyle BackColor="White" BorderColor="Black" ForeColor="Black" HorizontalAlign="Left" VerticalAlign="Top" Wrap="False" />
                    </asp:BoundField>
                </Columns>
            </asp:GridView>
        </div>
    </div>
    </form>
</body>
</html>
